import request from '@/utils/request.js'
const PATH = '/user/visit'

// 添加访问记录
export const addVisit = ({ userId }) =>
  request.put(PATH + `/addVisit/${userId}`)

// 获取访问记录
export const getVisit = () => request.get(PATH + '/getVisit')
